import request from '@/utils/request.js'
// 用户登录
export const userLogin = ({ username, password }) => {
  return request.post('/auth/login', { username, password })
}
// 2.用户个人信息

export const userInfo = () => {
  return request.get('/auth/currentUser')
}
